package org.example.config;

import com.baomidou.mybatisplus.core.injector.AbstractMethod;
import com.baomidou.mybatisplus.core.injector.DefaultSqlInjector;
import java.util.List;
import org.springframework.stereotype.Component;

/**
 * @Title : MybatisConfig
 * @Description:
 * @author: libo@juzishuke.com
 * @date: 2023/12/18 17:07
 * @Version:1.0
 */
@Component
public class CustomeSqlInjector extends DefaultSqlInjector {

    @Override
    public List<AbstractMethod> getMethodList(Class<?> mapperClass) {
        List<AbstractMethod> methods =  super.getMethodList(mapperClass);
        methods.add(new RepayPlanUpdateByIdAndOtherpayBatch());
        return methods;
    }
}
